![]() |
YNQ
YNQ-1.6.2
|
Data Structures | |
| struct | CCFindFileDataA |
| struct | CCFindFileData |
Typedefs | |
| typedef struct CCFindFileDataA | FindFileDataA_t |
Functions | |
| NQ_HANDLE | ccFindFirstFileA (const NQ_CHAR *srchPath, FindFileDataA_t *findFileData, NQ_BOOL extractFirst) |
| NQ_HANDLE | ccFindFirstFile (const NQ_WCHAR *srchPath, CCFindFileData *findFileData, NQ_BOOL extractFirst) |
| NQ_BOOL | ccFindNextFileA (NQ_HANDLE handle, FindFileDataA_t *findFileData) |
| NQ_BOOL | ccFindNextFile (NQ_HANDLE handle, CCFindFileData *findFileData) |
| NQ_BOOL | ccFindClose (NQ_HANDLE handle) |
| typedef struct CCFindFileDataA FindFileDataA_t |
This structure is used when calling ccFindFirstFile() and ccFindNextFile() calls.
| NQ_HANDLE ccFindFirstFileA | ( | const NQ_CHAR * | srchPath, |
| FindFileDataA_t * | findFileData, | ||
| NQ_BOOL | extractFirst | ||
| ) |
This function is called by application to find a first file matching the specified search criteria. On success, this function returns a search handle which can be used by application for getting more search results (ccFindNextFile()). At the end of the search the application should close this handle by calling ccFindClose().
The srchPath argument (see below) designates either a local or a remote path. A remote path starts with a mount point name. Any other path, which does not start from a mount point is considered local. A local path, regardless of its form, designates a list of mount points.
| srchPath | Path and the filename to search on the remote share. Wildcard characters are applicable for the filename. |
| findFileData | Pointer to a structure, where NQ places the search result data in CCFindFileData structure. |
| extractFirst | This flag specifies whether NQ should place the search results data for this call (if TRUE), or it should only open the search handle for the specified path for future search data retrieval (if FALSE) by calling ccFindNextFile(). |
| NQ_HANDLE ccFindFirstFile | ( | const NQ_WCHAR * | srchPath, |
| CCFindFileData * | findFileData, | ||
| NQ_BOOL | extractFirst | ||
| ) |
This function is called by application to find a first file matching the specified search criteria. On success, this function returns a search handle which can be used by application for getting more search results (ccFindNextFile()). At the end of the search the application should close this handle by calling ccFindClose().
The srchPath argument (see below) designates either a local or a remote path. A remote path starts with a mount point name. Any other path, which does not start from a mount point is considered local. Specifying a mount point name for example '\mnt' or '\*' or '\*.*' will return a list of mount points currently mounted.
| srchPath | Path and the filename to search on the remote share. Wildcard characters are applicable for the filename. |
| findFileData | Pointer to a structure, where NQ places the search result data in CCFindFileData structure. |
| extractFirst | This flag specifies whether NQ should place the search results data for this call (if TRUE), or it should only open the search handle for the specified path for future search data retrieval (if FALSE) by calling ccFindNextFile(). |
CCFindFileData structure ccFindNextFile() ccFindClose()
| NQ_BOOL ccFindNextFileA | ( | NQ_HANDLE | handle, |
| FindFileDataA_t * | findFileData | ||
| ) |
This function is called by application to find a next file matching the specified wildcard.
| handle | Handle value returned by calling ccFindFirstFile(). |
| findFileData | Pointer to a structure, where NQ places the search result data in CCFindFileData structure. |
CCFindFileData structure ccFindFirstFile() ccFindClose()
| NQ_BOOL ccFindNextFile | ( | NQ_HANDLE | handle, |
| CCFindFileData * | findFileData | ||
| ) |
This function is called by application to find a next file matching the specified wildcard.
| handle | Handle value returned by calling ccFindFirstFile(). |
| findFileData | Pointer to a structure, where NQ places the search result data in CCFindFileData structure. |
This function is called by application to close the search handle
| handle | Handle value returned by calling the ccFindFirstFile() |